package cn.yunhe.entity;

import lombok.Data;

/*
收件人实体类
 */
@Data
public class Consignee {

    private int consigneeId;//收件人id
    private String cname;//收件人名称
    private String address;//收件人地址
    private String telphone;//收件人电话

    public Consignee() {

    }

    public Consignee(int consigneeId) {
        this.consigneeId = consigneeId;
    }

    public Consignee(int consigneeId, String cname, String address, String telphone) {
        this.consigneeId = consigneeId;
        this.cname = cname;
        this.address = address;
        this.telphone = telphone;
    }

    public Consignee(String cname, String address, String telphone) {
        this.cname = cname;
        this.address = address;
        this.telphone = telphone;
    }
}
